//
//  DsCellDateModel.m
//  Tour
//
//  Created by 张张烨 on 16/3/10.
//  Copyright © 2016年 张中烨. All rights reserved.
//

#import "DsCellDateModel.h"
#import "DsCellDateModeler.h"
@implementation DsCellDateModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    [super setValue:value forUndefinedKey:key];
    if ([key isEqualToString:@"nodes"]) {
        for (NSDictionary *dic in (NSArray *)value) {
            DsCellDateModeler *oneNote = [[DsCellDateModeler alloc]initWithDictionary:dic];
            [self.notess addObject:oneNote];
            
        }
    }
}

- (NSMutableArray *)notess{
    if (_nodess == nil) {
        _nodess = [NSMutableArray array];
    }
    return _nodess;
}
@end
